home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / c / syscall / symm.md / fsStubs.s < prev    next >
Encoding:
Text File  |  1990-08-10  |  2.1 KB  |  57 lines

  1. /*
  2.  *
  3.  * fsStubs.s --
  4.  *
  5.  *     Stubs for the Fs_ system calls.
  6.  *
  7.  * Copyright 1986, 1988 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * rcs = $Header: /crg2/bruces6/sprite/src/lib/c/syscall/sym.md/RCS/fsStubs.s,v 1.1 90/01/19 10:18:46 fubar Exp $ SPRITE (Berkeley)
  17.  *
  18.  */
  19.  
  20. #include "userSysCallInt.h"
  21.  
  22. /*
  23.  * For Symmetry, include argument counts, the syscall interface needs
  24.  * to know...
  25.  */    
  26.     
  27. SYS_CALL(3,    Fs_AttachDisk,        SYS_FS_ATTACH_DISK)
  28. SYS_CALL(1,    Fs_ChangeDir,         SYS_FS_CHANGE_DIR)
  29. SYS_CALL(3,    Fs_CheckAccess,        SYS_FS_CHECKACCESS)
  30. SYS_CALL(1,    Fs_Close,         SYS_FS_CLOSE)
  31. SYS_CALL(3,    Fs_Command,         SYS_FS_COMMAND)
  32. SYS_CALL(2,    Fs_CreatePipe,        SYS_FS_CREATEPIPE)
  33. SYS_CALL(3,    Fs_GetAttributes,     SYS_FS_GET_ATTRIBUTES)
  34. SYS_CALL(2,    Fs_GetAttributesID,     SYS_FS_GET_ATTR_ID)
  35. SYS_CALL(2,    Fs_GetNewID,         SYS_FS_GET_NEW_ID)
  36. SYS_CALL(2,    Fs_HardLink,         SYS_FS_HARDLINK)
  37. SYS_CALL(6,    Fs_RawIOControl,     SYS_FS_IO_CONTROL)
  38. SYS_CALL(3,    Fs_MakeDevice,        SYS_FS_MAKE_DEVICE)
  39. SYS_CALL(2,    Fs_MakeDir,         SYS_FS_MAKE_DIR)
  40. SYS_CALL(4,    Fs_Open,         SYS_FS_OPEN)
  41. SYS_CALL(4,    Fs_RawRead,         SYS_FS_READ)
  42. SYS_CALL(4,    Fs_RawWrite,         SYS_FS_WRITE)
  43. SYS_CALL(4,    Fs_ReadLink,         SYS_FS_READLINK)
  44. SYS_CALL(1,    Fs_Remove,         SYS_FS_REMOVE)
  45. SYS_CALL(1,    Fs_RemoveDir,         SYS_FS_REMOVE_DIR)
  46. SYS_CALL(2,    Fs_Rename,         SYS_FS_RENAME)
  47. SYS_CALL(6,    Fs_RawSelect,         SYS_FS_SELECT)
  48. SYS_CALL(3,    Fs_SetAttributes,     SYS_FS_SET_ATTRIBUTES)
  49. SYS_CALL(2,    Fs_SetAttributesID,     SYS_FS_SET_ATTR_ID)
  50. SYS_CALL(2,    Fs_SetDefPerm,         SYS_FS_SET_DEF_PERM)
  51. SYS_CALL(3,    Fs_SymLink,         SYS_FS_SYMLINK)
  52. /*SYS_CALL(4,    Fs_ReadVector,         SYS_FS_READVECTOR)*/
  53. /*SYS_CALL(4,    Fs_WriteVector,     SYS_FS_WRITEVECTOR)*/
  54. SYS_CALL(4,    Fs_WriteBackID,     SYS_FS_WRITEBACKID)
  55. SYS_CALL(4,    Fs_SetAttr,         SYS_FS_SET_ATTR_NEW)
  56. SYS_CALL(3,    Fs_SetAttrID,         SYS_FS_SET_ATTR_ID_NEW)
  57.